package com.sumainfor.wx.tenant.service.impl;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.dao.TctenTenantDevMapper;
import com.sumainfor.wx.tenant.service.TctenTenantDevService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 获取所有租客id
 * <p>
 *
 * @author: Mr.Wang
 * @create: 2019-07-24 17:38
 *
 **/
@Service
public class TctenTenantDevServiceImpl implements TctenTenantDevService {


    @Autowired
    TctenTenantDevMapper tctenTenantDevMapper;


    @Override
    public JsonResult getAllTenId() {
        JsonResult result = new JsonResult();
        return result.put(tctenTenantDevMapper.getAllTenId());
    }
}
